import { A } from "../annotation/a.ts";

interface Student {
    name: String;
    age: number;
    gander: number; // 0 男； 1女
}

const list: Student[] = [
    {
        name: 'zhangli',
        age: 12,
        gander: 0
    },
    {
        name: 'lier',
        age: 12,
        gander: 1
    },
    {
        name: 'zhai',
        age: 16,
        gander: 1
    }
]; 

@A()
export class StudentListService {
    getStudentList() {
        return list;
    }
}